package src.com.itheima.lei.homework.test5;

public class TestManger {
    public static void main(String[] args) {
        Manager ma=new Manager();
        ma.setId(123);
        ma.setSalary(15000);
        ma.setBonus(6000);
        ma.work();
    }
}
class TestCoder {
    public static void main(String[] args) {
        Coder cod =new Coder();
        cod.setId(135);
        cod.setSalary(10000);
        cod.work();
    }
}